[
  {
    "description": "type as array with one item",
    "schema": {
      "type": ["string"]
    },
    "tests": [
      {
        "description": "string is valid",
        "data": "foo",
        "valid": true
      },
      {
        "description": "number is invalid",
        "data": 123,
        "valid": false
      }
    ]
  },
  {
    "description": "type: array or object",
    "schema": {
      "type": ["array", "object"]
    },
    "tests": [
      {
        "description": "array is valid",
        "data": [1,2,3],
        "valid": true
      },
      {
        "description": "object is valid",
        "data": {"foo":123},
        "valid": true
      },
      {
        "description": "number is invalid",
        "data": 123,
        "valid": false
      },
      {
        "description": "string is invalid",
        "data": "foo",
        "valid": false
      },
      {
        "description": "null is invalid",
        "data": null,
        "valid": false
      }
    ]
  },
  {
    "description": "type: array, object or null",
    "schema": {
      "type": ["array", "object", "null"]
    },
    "tests": [
      {
        "description": "array is valid",
        "data": [1,2,3],
        "valid": true
      },
      {
        "description": "object is valid",
        "data": {"foo":123},
        "valid": true
      },
      {
        "description": "null is valid",
        "data": null,
        "valid": true
      },
      {
        "description": "number is invalid",
        "data": 123,
        "valid": false
      },
      {
        "description": "string is invalid",
        "data": "foo",
        "valid": false
      }
    ]
  }
]
